package com.adream.scalpel.app.server.domain;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class MenuItem {

    @PrimaryKey
    @Persistent
    private String menuId;
    @Persistent
    private String parentId;
    @Persistent
    private String name;
    @Persistent
    private Integer actionType;
    @Persistent
    private String actionParams;

    public String getActionParams() {
        return actionParams;
    }

    public Integer getActionType() {
        return actionType;
    }

    public String getMenuId() {
        return menuId;
    }

    public String getName() {
        return name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setActionParams(String actionParams) {
        this.actionParams = actionParams;
    }

    public void setActionType(Integer actionType) {
        this.actionType = actionType;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
